package com.andaily.domain.dto.account;

import com.andaily.domain.account.AccountKind;
import com.andaily.domain.dto.AbstractDTO;
import com.andaily.infrastructure.mybatis.data.AccountStatisticsData;

/**
 * Date: 13-6-27 下午8:19
 *
 * @author Shengzhao Li
 */
public class AccountPaymentsStatisticsDto extends AbstractDTO {

    private AccountStatisticsData income;
    private AccountStatisticsData expenditure;

    public AccountPaymentsStatisticsDto() {
    }

    public AccountPaymentsStatisticsDto(AccountStatisticsData incomeData, AccountStatisticsData expenditureData) {
        this();
        this.income = incomeData;
        this.expenditure = expenditureData;
    }

    public AccountKind getIncomeKind() {
        return AccountKind.INCOME;
    }

    public AccountKind getExpenditureKind() {
        return AccountKind.EXPENDITURE;
    }

    public AccountStatisticsData getIncome() {
        return income;
    }

    public void setIncome(AccountStatisticsData income) {
        this.income = income;
    }

    public AccountStatisticsData getExpenditure() {
        return expenditure;
    }

    public void setExpenditure(AccountStatisticsData expenditure) {
        this.expenditure = expenditure;
    }
}
